package com.community.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.community.dto.HouseDTO;
import com.community.mapper.HouseDAO;
import com.community.po.HousePO;
import com.community.po.OwnerPO;
import com.community.service.HouseService;
import com.lening.common.base.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @ToDo:
 * @Author：高尚磊
 * @date: 2024/6/22 8:59
 */
@Service
@Slf4j
public class HouseServiceImpl extends BaseServiceImpl<HouseDAO, HousePO, HouseDTO> implements HouseService {
    @Override
    public Page<?> page(HouseDTO houseDTO) {
        return this.baseMapper.page(houseDTO);
    }
    @Override
    public HousePO getById(Long hid) {
        return this.baseMapper.getById(hid);
    }
}
